﻿using System;
using System.CodeDom.Compiler;
using System.Diagnostics;
using Google.Protobuf;
using Google.Protobuf.Reflection;

namespace EggLink.DanhengServer.Proto
{
	// Token: 0x02000EEF RID: 3823
	[DebuggerDisplay("{ToString(),nq}")]
	public sealed class RogueGetInfo : IMessage<RogueGetInfo>, IMessage, IEquatable<RogueGetInfo>, IDeepCloneable<RogueGetInfo>, IBufferMessage
	{
		// Token: 0x17003091 RID: 12433
		// (get) Token: 0x0600AB79 RID: 43897 RVA: 0x001CFF59 File Offset: 0x001CE159
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public static MessageParser<RogueGetInfo> Parser
		{
			get
			{
				return RogueGetInfo._parser;
			}
		}

		// Token: 0x17003092 RID: 12434
		// (get) Token: 0x0600AB7A RID: 43898 RVA: 0x001CFF60 File Offset: 0x001CE160
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public static MessageDescriptor Descriptor
		{
			get
			{
				return RogueGetInfoReflection.Descriptor.MessageTypes[0];
			}
		}

		// Token: 0x17003093 RID: 12435
		// (get) Token: 0x0600AB7B RID: 43899 RVA: 0x001CFF72 File Offset: 0x001CE172
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		MessageDescriptor IMessage.Descriptor
		{
			get
			{
				return RogueGetInfo.Descriptor;
			}
		}

		// Token: 0x0600AB7C RID: 43900 RVA: 0x001CFF79 File Offset: 0x001CE179
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public RogueGetInfo()
		{
		}

		// Token: 0x0600AB7D RID: 43901 RVA: 0x001CFF84 File Offset: 0x001CE184
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public RogueGetInfo(RogueGetInfo other) : this()
		{
			this.rogueVirtualItemInfo_ = ((other.rogueVirtualItemInfo_ != null) ? other.rogueVirtualItemInfo_.Clone() : null);
			this.rogueSeasonInfo_ = ((other.rogueSeasonInfo_ != null) ? other.rogueSeasonInfo_.Clone() : null);
			this.rogueAreaInfo_ = ((other.rogueAreaInfo_ != null) ? other.rogueAreaInfo_.Clone() : null);
			this.rogueAeonInfo_ = ((other.rogueAeonInfo_ != null) ? other.rogueAeonInfo_.Clone() : null);
			this.rogueScoreRewardInfo_ = ((other.rogueScoreRewardInfo_ != null) ? other.rogueScoreRewardInfo_.Clone() : null);
			this._unknownFields = UnknownFieldSet.Clone(other._unknownFields);
		}

		// Token: 0x0600AB7E RID: 43902 RVA: 0x001D0034 File Offset: 0x001CE234
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public RogueGetInfo Clone()
		{
			return new RogueGetInfo(this);
		}

		// Token: 0x17003094 RID: 12436
		// (get) Token: 0x0600AB7F RID: 43903 RVA: 0x001D003C File Offset: 0x001CE23C
		// (set) Token: 0x0600AB80 RID: 43904 RVA: 0x001D0044 File Offset: 0x001CE244
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public RogueGetVirtualItemInfo RogueVirtualItemInfo
		{
			get
			{
				return this.rogueVirtualItemInfo_;
			}
			set
			{
				this.rogueVirtualItemInfo_ = value;
			}
		}

		// Token: 0x17003095 RID: 12437
		// (get) Token: 0x0600AB81 RID: 43905 RVA: 0x001D004D File Offset: 0x001CE24D
		// (set) Token: 0x0600AB82 RID: 43906 RVA: 0x001D0055 File Offset: 0x001CE255
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public RogueSeasonInfo RogueSeasonInfo
		{
			get
			{
				return this.rogueSeasonInfo_;
			}
			set
			{
				this.rogueSeasonInfo_ = value;
			}
		}

		// Token: 0x17003096 RID: 12438
		// (get) Token: 0x0600AB83 RID: 43907 RVA: 0x001D005E File Offset: 0x001CE25E
		// (set) Token: 0x0600AB84 RID: 43908 RVA: 0x001D0066 File Offset: 0x001CE266
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public RogueAreaInfo RogueAreaInfo
		{
			get
			{
				return this.rogueAreaInfo_;
			}
			set
			{
				this.rogueAreaInfo_ = value;
			}
		}

		// Token: 0x17003097 RID: 12439
		// (get) Token: 0x0600AB85 RID: 43909 RVA: 0x001D006F File Offset: 0x001CE26F
		// (set) Token: 0x0600AB86 RID: 43910 RVA: 0x001D0077 File Offset: 0x001CE277
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public RogueAeonInfo RogueAeonInfo
		{
			get
			{
				return this.rogueAeonInfo_;
			}
			set
			{
				this.rogueAeonInfo_ = value;
			}
		}

		// Token: 0x17003098 RID: 12440
		// (get) Token: 0x0600AB87 RID: 43911 RVA: 0x001D0080 File Offset: 0x001CE280
		// (set) Token: 0x0600AB88 RID: 43912 RVA: 0x001D0088 File Offset: 0x001CE288
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public RogueScoreRewardInfo RogueScoreRewardInfo
		{
			get
			{
				return this.rogueScoreRewardInfo_;
			}
			set
			{
				this.rogueScoreRewardInfo_ = value;
			}
		}

		// Token: 0x0600AB89 RID: 43913 RVA: 0x001D0091 File Offset: 0x001CE291
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override bool Equals(object other)
		{
			return this.Equals(other as RogueGetInfo);
		}

		// Token: 0x0600AB8A RID: 43914 RVA: 0x001D00A0 File Offset: 0x001CE2A0
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public bool Equals(RogueGetInfo other)
		{
			return other != null && (other == this || (object.Equals(this.RogueVirtualItemInfo, other.RogueVirtualItemInfo) && object.Equals(this.RogueSeasonInfo, other.RogueSeasonInfo) && object.Equals(this.RogueAreaInfo, other.RogueAreaInfo) && object.Equals(this.RogueAeonInfo, other.RogueAeonInfo) && object.Equals(this.RogueScoreRewardInfo, other.RogueScoreRewardInfo) && object.Equals(this._unknownFields, other._unknownFields)));
		}

		// Token: 0x0600AB8B RID: 43915 RVA: 0x001D0134 File Offset: 0x001CE334
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override int GetHashCode()
		{
			int num = 1;
			if (this.rogueVirtualItemInfo_ != null)
			{
				num ^= this.RogueVirtualItemInfo.GetHashCode();
			}
			if (this.rogueSeasonInfo_ != null)
			{
				num ^= this.RogueSeasonInfo.GetHashCode();
			}
			if (this.rogueAreaInfo_ != null)
			{
				num ^= this.RogueAreaInfo.GetHashCode();
			}
			if (this.rogueAeonInfo_ != null)
			{
				num ^= this.RogueAeonInfo.GetHashCode();
			}
			if (this.rogueScoreRewardInfo_ != null)
			{
				num ^= this.RogueScoreRewardInfo.GetHashCode();
			}
			if (this._unknownFields != null)
			{
				num ^= this._unknownFields.GetHashCode();
			}
			return num;
		}

		// Token: 0x0600AB8C RID: 43916 RVA: 0x001D01C8 File Offset: 0x001CE3C8
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override string ToString()
		{
			return JsonFormatter.ToDiagnosticString(this);
		}

		// Token: 0x0600AB8D RID: 43917 RVA: 0x001D01D0 File Offset: 0x001CE3D0
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void WriteTo(CodedOutputStream output)
		{
			output.WriteRawMessage(this);
		}

		// Token: 0x0600AB8E RID: 43918 RVA: 0x001D01DC File Offset: 0x001CE3DC
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		void IBufferMessage.InternalWriteTo(ref WriteContext output)
		{
			if (this.rogueScoreRewardInfo_ != null)
			{
				output.WriteRawTag(26);
				output.WriteMessage(this.RogueScoreRewardInfo);
			}
			if (this.rogueSeasonInfo_ != null)
			{
				output.WriteRawTag(74);
				output.WriteMessage(this.RogueSeasonInfo);
			}
			if (this.rogueAeonInfo_ != null)
			{
				output.WriteRawTag(82);
				output.WriteMessage(this.RogueAeonInfo);
			}
			if (this.rogueAreaInfo_ != null)
			{
				output.WriteRawTag(90);
				output.WriteMessage(this.RogueAreaInfo);
			}
			if (this.rogueVirtualItemInfo_ != null)
			{
				output.WriteRawTag(122);
				output.WriteMessage(this.RogueVirtualItemInfo);
			}
			if (this._unknownFields != null)
			{
				this._unknownFields.WriteTo(ref output);
			}
		}

		// Token: 0x0600AB8F RID: 43919 RVA: 0x001D028C File Offset: 0x001CE48C
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public int CalculateSize()
		{
			int num = 0;
			if (this.rogueVirtualItemInfo_ != null)
			{
				num += 1 + CodedOutputStream.ComputeMessageSize(this.RogueVirtualItemInfo);
			}
			if (this.rogueSeasonInfo_ != null)
			{
				num += 1 + CodedOutputStream.ComputeMessageSize(this.RogueSeasonInfo);
			}
			if (this.rogueAreaInfo_ != null)
			{
				num += 1 + CodedOutputStream.ComputeMessageSize(this.RogueAreaInfo);
			}
			if (this.rogueAeonInfo_ != null)
			{
				num += 1 + CodedOutputStream.ComputeMessageSize(this.RogueAeonInfo);
			}
			if (this.rogueScoreRewardInfo_ != null)
			{
				num += 1 + CodedOutputStream.ComputeMessageSize(this.RogueScoreRewardInfo);
			}
			if (this._unknownFields != null)
			{
				num += this._unknownFields.CalculateSize();
			}
			return num;
		}

		// Token: 0x0600AB90 RID: 43920 RVA: 0x001D032C File Offset: 0x001CE52C
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void MergeFrom(RogueGetInfo other)
		{
			if (other == null)
			{
				return;
			}
			if (other.rogueVirtualItemInfo_ != null)
			{
				if (this.rogueVirtualItemInfo_ == null)
				{
					this.RogueVirtualItemInfo = new RogueGetVirtualItemInfo();
				}
				this.RogueVirtualItemInfo.MergeFrom(other.RogueVirtualItemInfo);
			}
			if (other.rogueSeasonInfo_ != null)
			{
				if (this.rogueSeasonInfo_ == null)
				{
					this.RogueSeasonInfo = new RogueSeasonInfo();
				}
				this.RogueSeasonInfo.MergeFrom(other.RogueSeasonInfo);
			}
			if (other.rogueAreaInfo_ != null)
			{
				if (this.rogueAreaInfo_ == null)
				{
					this.RogueAreaInfo = new RogueAreaInfo();
				}
				this.RogueAreaInfo.MergeFrom(other.RogueAreaInfo);
			}
			if (other.rogueAeonInfo_ != null)
			{
				if (this.rogueAeonInfo_ == null)
				{
					this.RogueAeonInfo = new RogueAeonInfo();
				}
				this.RogueAeonInfo.MergeFrom(other.RogueAeonInfo);
			}
			if (other.rogueScoreRewardInfo_ != null)
			{
				if (this.rogueScoreRewardInfo_ == null)
				{
					this.RogueScoreRewardInfo = new RogueScoreRewardInfo();
				}
				this.RogueScoreRewardInfo.MergeFrom(other.RogueScoreRewardInfo);
			}
			this._unknownFields = UnknownFieldSet.MergeFrom(this._unknownFields, other._unknownFields);
		}

		// Token: 0x0600AB91 RID: 43921 RVA: 0x001D0430 File Offset: 0x001CE630
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void MergeFrom(CodedInputStream input)
		{
			input.ReadRawMessage(this);
		}

		// Token: 0x0600AB92 RID: 43922 RVA: 0x001D043C File Offset: 0x001CE63C
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		void IBufferMessage.InternalMergeFrom(ref ParseContext input)
		{
			uint num;
			while ((num = input.ReadTag()) != 0U)
			{
				if (num <= 74U)
				{
					if (num == 26U)
					{
						if (this.rogueScoreRewardInfo_ == null)
						{
							this.RogueScoreRewardInfo = new RogueScoreRewardInfo();
						}
						input.ReadMessage(this.RogueScoreRewardInfo);
						continue;
					}
					if (num == 74U)
					{
						if (this.rogueSeasonInfo_ == null)
						{
							this.RogueSeasonInfo = new RogueSeasonInfo();
						}
						input.ReadMessage(this.RogueSeasonInfo);
						continue;
					}
				}
				else
				{
					if (num == 82U)
					{
						if (this.rogueAeonInfo_ == null)
						{
							this.RogueAeonInfo = new RogueAeonInfo();
						}
						input.ReadMessage(this.RogueAeonInfo);
						continue;
					}
					if (num == 90U)
					{
						if (this.rogueAreaInfo_ == null)
						{
							this.RogueAreaInfo = new RogueAreaInfo();
						}
						input.ReadMessage(this.RogueAreaInfo);
						continue;
					}
					if (num == 122U)
					{
						if (this.rogueVirtualItemInfo_ == null)
						{
							this.RogueVirtualItemInfo = new RogueGetVirtualItemInfo();
						}
						input.ReadMessage(this.RogueVirtualItemInfo);
						continue;
					}
				}
				this._unknownFields = UnknownFieldSet.MergeFieldFrom(this._unknownFields, ref input);
			}
		}

		// Token: 0x040045A1 RID: 17825
		private static readonly MessageParser<RogueGetInfo> _parser = new MessageParser<RogueGetInfo>(() => new RogueGetInfo());

		// Token: 0x040045A2 RID: 17826
		private UnknownFieldSet _unknownFields;

		// Token: 0x040045A3 RID: 17827
		public const int RogueVirtualItemInfoFieldNumber = 15;

		// Token: 0x040045A4 RID: 17828
		private RogueGetVirtualItemInfo rogueVirtualItemInfo_;

		// Token: 0x040045A5 RID: 17829
		public const int RogueSeasonInfoFieldNumber = 9;

		// Token: 0x040045A6 RID: 17830
		private RogueSeasonInfo rogueSeasonInfo_;

		// Token: 0x040045A7 RID: 17831
		public const int RogueAreaInfoFieldNumber = 11;

		// Token: 0x040045A8 RID: 17832
		private RogueAreaInfo rogueAreaInfo_;

		// Token: 0x040045A9 RID: 17833
		public const int RogueAeonInfoFieldNumber = 10;

		// Token: 0x040045AA RID: 17834
		private RogueAeonInfo rogueAeonInfo_;

		// Token: 0x040045AB RID: 17835
		public const int RogueScoreRewardInfoFieldNumber = 3;

		// Token: 0x040045AC RID: 17836
		private RogueScoreRewardInfo rogueScoreRewardInfo_;
	}
}
